package com.cloud.service;

import com.cloud.pojo.File;
import com.cloud.pojo.User;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.UnsupportedEncodingException;
import java.util.List;

/**
 * <p>
 * 上传文件表 服务类
 * </p>
 *
 * @author haoyeee123
 * @since 2022-01-15
 */
public interface FileService  {

    void addFile(Integer uid, MultipartFile file);

    List<File> getList(File file);

    void getFile(HttpServletRequest request,HttpServletResponse response, File file);

    void deleteFile(File file);
}
